Adwaita: Add color to separator.selection-mode
authorAdrien Plazas <kekun.plazas@laposte.net>
Mon, 27 Aug 2018 11:59:34 +0000 (13:59 +0200)
committerAdrien Plazas <kekun.plazas@laposte.net>
Mon, 27 Aug 2018 12:07:17 +0000 (14:07 +0200)
This makes separators to look good when separating two header bars in
selection mode.

https://gitlab.gnome.org/GNOME/gtk/issues/1286

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index ebae7d25d35878fc80330339636ab12a6a93701e..15a228e0b6f9d345a10b5ea0179dbeec2c2c969b 100644 (file)
@@ -3595,6 +3595,10 @@ separator {
   background: transparentize(black, 0.9);
   min-width: 1px;
   min-height: 1px;
+
+  &.selection-mode {
+    background-color: darken($selected_bg_color, 20%);
+  }
 }
 
 
index b490fdb614540273fa6f1215288af1f382806d2b..32ea468f42e733186a610a1258afdf88f8cfced1 100644 (file)
@@ -1563,6 +1563,8 @@ scrolledwindow junction:backdrop { border-image-source: linear-gradient(to botto
 
 separator { background: rgba(0, 0, 0, 0.1); min-width: 1px; min-height: 1px; }
 
+separator.selection-mode { background-color: #0f2b48; }
+
 /********* Lists * */
 list { color: white; background-color: #232729; border-color: #1b1f20; }
 
index 66e888bd56c3327dba0ea199b660881204e88dfb..1126820c01d5edb4bb20c08fdde2be000b06c957 100644 (file)
@@ -1583,6 +1583,8 @@ scrolledwindow junction:backdrop { border-image-source: linear-gradient(to botto
 
 separator { background: rgba(0, 0, 0, 0.1); min-width: 1px; min-height: 1px; }
 
+separator.selection-mode { background-color: #215d9c; }
+
 /********* Lists * */
 list { color: black; background-color: #ffffff; border-color: #b6b6b3; }